Skip to content

refactor(@ngtools/webpack): use Webpack loader context hook to access file emitters#21099

Merged
alan-agius4 merged 1 commit intoangular:masterfrom
clydin:ngtools/loader-context-file-emitters
Jun 10, 2021
Merged

refactor(@ngtools/webpack): use Webpack loader context hook to access file emitters#21099
alan-agius4 merged 1 commit intoangular:masterfrom
clydin:ngtools/loader-context-file-emitters

Conversation

@clydin
Copy link
Copy Markdown
Member

@clydin clydin commented Jun 9, 2021

The Angular Webpack loader will now access the Angular Webpack Plugin's file emitters via the loader context directly. This is instead of using the not fully public Webpack compilation property on the loader context. This change also removes the need to directly alter the Webpack compilation object which previously added an additional property.

… file emitters

The Angular Webpack loader will now access the Angular Webpack Plugin's file emitters via the loader context directly. This is instead of using the not fully public Webpack compilation property on the loader context. This change also removes the need to directly alter the Webpack compilation object which previously added an additional property.
@clydin clydin added the target: minor This PR is targeted for the next minor release label Jun 9, 2021
@google-cla google-cla bot added the cla: yes label Jun 9, 2021
@clydin clydin requested a review from alan-agius4 June 9, 2021 21:31
});
}

private registerWithCompilation(compilation: Compilation) {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NIT: missing return type

@alan-agius4 alan-agius4 added the action: merge The PR is ready for merge by the caretaker label Jun 10, 2021
@alan-agius4 alan-agius4 merged commit ca6e9fe into angular:master Jun 10, 2021
@angular-automatic-lock-bot
Copy link
Copy Markdown

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Jul 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker target: minor This PR is targeted for the next minor release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants